<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.controller.confirm.*" %>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@page import="com.conversationboard.view.MainMenu"%>

<%
	String action = request.getParameter("action");
	String message = Confirm.getMessage(action);

	/* If you're not logged in, just return */
	
	if (request.getUserPrincipal() == null) {
		return;
	}

%>

<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Confirm Flag Post</title>
		<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>"/>
	</head>

	<body>
	
		<%= MainMenu.display(request.getUserPrincipal()) %>
	
		<div class="headingblock">
			<h1>***** Flag Posts *****</h1>
		</div>
		
		<div class="mainblock">


			<p class='red'><strong>Please be aware that by confirming this action, you are registering your wish to see this user removed from the site.
                        Once the user has 51 such votes from individual users, they will automatically be banned from the site.</strong></p>
			
			<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/<%=Confirm.getForwardUrl(action)%>" method="post">
				<p><%=message%></p>
				<%=Confirm.getParametersAsHiddenLabels(request) %>
			 	<input type="submit" value="Confirm" />
			</form>
			
		</div>
		
		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 
		
	</body>
	
</html>
